package com.ciaojian.client;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * @author Atlakyn
 */
@MapperScan("com.ciaojian.core.mapper")
@SpringBootApplication(scanBasePackages = {
        "com.ciaojian.core.*",
        "com.ciaojian.client.*",
        "com.ciaojian.pay.wxpay.**",
        "com.ciaojian.client.policy.**",
        "com.ciaojian.miniapp.model.request.**"
})
@ServletComponentScan({"com.ciaojian.core.config","com.ciaojian.core.filter"})
public class ClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(ClientApplication.class, args);
    }
}
